<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: SystemSharp.Components.AttributeInjector Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_system_sharp_1_1_components_1_1_attribute_injector.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_system_sharp_1_1_components_1_1_attribute_injector-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SystemSharp.Components.AttributeInjector Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Provides services for late injection of attributes to CLI objects.  
 <a href="class_system_sharp_1_1_components_1_1_attribute_injector.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae864a15c10851613521773e902eb605d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ae864a15c10851613521773e902eb605d">Inject</a> (Type type, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:ae864a15c10851613521773e902eb605d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a type.  <a href="#ae864a15c10851613521773e902eb605d">More...</a><br/></td></tr>
<tr class="separator:ae864a15c10851613521773e902eb605d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ba32f640159f57cd2f9a6161d6e3f8a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a5ba32f640159f57cd2f9a6161d6e3f8a">Inject</a> (MethodBase method, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:a5ba32f640159f57cd2f9a6161d6e3f8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a method.  <a href="#a5ba32f640159f57cd2f9a6161d6e3f8a">More...</a><br/></td></tr>
<tr class="separator:a5ba32f640159f57cd2f9a6161d6e3f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06c7dc1ba715d5f3248e4111a850f3b0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a06c7dc1ba715d5f3248e4111a850f3b0">Inject</a> (FieldInfo field, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:a06c7dc1ba715d5f3248e4111a850f3b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a field.  <a href="#a06c7dc1ba715d5f3248e4111a850f3b0">More...</a><br/></td></tr>
<tr class="separator:a06c7dc1ba715d5f3248e4111a850f3b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac084ebd6b2ec5cc306dfba149d4b601e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ac084ebd6b2ec5cc306dfba149d4b601e">InjectOnce</a> (MethodBase method, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:ac084ebd6b2ec5cc306dfba149d4b601e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a method, but only if the method is not yet associated with an equal instance of the attribute.  <a href="#ac084ebd6b2ec5cc306dfba149d4b601e">More...</a><br/></td></tr>
<tr class="separator:ac084ebd6b2ec5cc306dfba149d4b601e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bb0301ecff51be0f2a57bffbf522aef"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a6bb0301ecff51be0f2a57bffbf522aef">InjectMethodByNameAttr</a> (Type type, string methodName, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:a6bb0301ecff51be0f2a57bffbf522aef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a method, specified by declaring type and method name.  <a href="#a6bb0301ecff51be0f2a57bffbf522aef">More...</a><br/></td></tr>
<tr class="separator:a6bb0301ecff51be0f2a57bffbf522aef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ffe74da51382ad02f276b7dda2ebb10"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a3ffe74da51382ad02f276b7dda2ebb10">InjectOnce</a> (MethodBase method, object instance, Attribute attribute)</td></tr>
<tr class="memdesc:a3ffe74da51382ad02f276b7dda2ebb10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a method of a certain instance, but only if the method is not yet associated with an equal instance of the attribute.  <a href="#a3ffe74da51382ad02f276b7dda2ebb10">More...</a><br/></td></tr>
<tr class="separator:a3ffe74da51382ad02f276b7dda2ebb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa06eeed078616acc5ee583947632fda5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#aa06eeed078616acc5ee583947632fda5">InjectEach</a> (Type type, string methodName, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:aa06eeed078616acc5ee583947632fda5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to each method with a particular name.  <a href="#aa06eeed078616acc5ee583947632fda5">More...</a><br/></td></tr>
<tr class="separator:aa06eeed078616acc5ee583947632fda5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8740a947e0a93d0ef622d3f8160f1f4b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a8740a947e0a93d0ef622d3f8160f1f4b">InjectEachCtor</a> (Type type, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:a8740a947e0a93d0ef622d3f8160f1f4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to each constructor of a certain type.  <a href="#a8740a947e0a93d0ef622d3f8160f1f4b">More...</a><br/></td></tr>
<tr class="separator:a8740a947e0a93d0ef622d3f8160f1f4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a801f69185db8266a97f2a7b9007de"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a48a801f69185db8266a97f2a7b9007de">InjectToProperty</a> (Type type, string propName, Attribute attribute, bool retainRef=false)</td></tr>
<tr class="memdesc:a48a801f69185db8266a97f2a7b9007de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a property with a certain name.  <a href="#a48a801f69185db8266a97f2a7b9007de">More...</a><br/></td></tr>
<tr class="separator:a48a801f69185db8266a97f2a7b9007de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf7ae41518475ff05b65628eb92b12d9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#abf7ae41518475ff05b65628eb92b12d9">Inject</a> (ParameterInfo pi, Attribute attribute)</td></tr>
<tr class="memdesc:abf7ae41518475ff05b65628eb92b12d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a method parameter.  <a href="#abf7ae41518475ff05b65628eb92b12d9">More...</a><br/></td></tr>
<tr class="separator:abf7ae41518475ff05b65628eb92b12d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66888bf2ee085c5673576c8404373f02"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a66888bf2ee085c5673576c8404373f02">Inject</a> (FieldInfo fi, Attribute attribute)</td></tr>
<tr class="memdesc:a66888bf2ee085c5673576c8404373f02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches an attribute to a field  <a href="#a66888bf2ee085c5673576c8404373f02">More...</a><br/></td></tr>
<tr class="separator:a66888bf2ee085c5673576c8404373f02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a881fdbc47ad270f340ef8b764f86a59f"><td class="memItemLeft" align="right" valign="top">static IEnumerable&lt; Attribute &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a881fdbc47ad270f340ef8b764f86a59f">SelectAttributes</a> (IEnumerable&lt; object &gt; attrs, Type type)</td></tr>
<tr class="memdesc:a881fdbc47ad270f340ef8b764f86a59f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects all attributes which are compatible with a certain type from an object enumeration.  <a href="#a881fdbc47ad270f340ef8b764f86a59f">More...</a><br/></td></tr>
<tr class="separator:a881fdbc47ad270f340ef8b764f86a59f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb9fca3f2db7ae5dddfedfc3806ce0b"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a0fb9fca3f2db7ae5dddfedfc3806ce0b">GetInjectedAttributes</a> (this Type thisType, Type type)</td></tr>
<tr class="memdesc:a0fb9fca3f2db7ae5dddfedfc3806ce0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes which were attached to a type by attribute injection.  <a href="#a0fb9fca3f2db7ae5dddfedfc3806ce0b">More...</a><br/></td></tr>
<tr class="separator:a0fb9fca3f2db7ae5dddfedfc3806ce0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cee1ddb6318ca5e86fbc193c5de2a95"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a7cee1ddb6318ca5e86fbc193c5de2a95">GetInjectedAttributes</a> (this MethodBase method, Type type)</td></tr>
<tr class="memdesc:a7cee1ddb6318ca5e86fbc193c5de2a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes which were attached to a method or constructor by attribute injection.  <a href="#a7cee1ddb6318ca5e86fbc193c5de2a95">More...</a><br/></td></tr>
<tr class="separator:a7cee1ddb6318ca5e86fbc193c5de2a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8246a4102a7b662f9aff85dc29ace04c"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a8246a4102a7b662f9aff85dc29ace04c">GetInjectedAttributes</a> (this MethodBase method, object instance, Type type)</td></tr>
<tr class="memdesc:a8246a4102a7b662f9aff85dc29ace04c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes which were attached to a certain method or constructor for a specific instance by attribute injection.  <a href="#a8246a4102a7b662f9aff85dc29ace04c">More...</a><br/></td></tr>
<tr class="separator:a8246a4102a7b662f9aff85dc29ace04c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a787165467bb5c562432050a8e85e9e39"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a787165467bb5c562432050a8e85e9e39">GetInjectedAttributes</a> (this PropertyInfo pi, Type type)</td></tr>
<tr class="memdesc:a787165467bb5c562432050a8e85e9e39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes which were attached to a certain property.  <a href="#a787165467bb5c562432050a8e85e9e39">More...</a><br/></td></tr>
<tr class="separator:a787165467bb5c562432050a8e85e9e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a454afd18e15520a14a3d7aed60e8e326"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a454afd18e15520a14a3d7aed60e8e326">GetInjectedAttributes</a> (this ParameterInfo pi, Type type)</td></tr>
<tr class="memdesc:a454afd18e15520a14a3d7aed60e8e326"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes which were attached to a certain method parameter by attribute injection.  <a href="#a454afd18e15520a14a3d7aed60e8e326">More...</a><br/></td></tr>
<tr class="separator:a454afd18e15520a14a3d7aed60e8e326"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d97bd820425ae64dfcae647f70bb75"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a47d97bd820425ae64dfcae647f70bb75">GetCustomAndInjectedAttributes</a> (this Type thisType, Type type)</td></tr>
<tr class="memdesc:a47d97bd820425ae64dfcae647f70bb75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled and injected attributes of a certain type.  <a href="#a47d97bd820425ae64dfcae647f70bb75">More...</a><br/></td></tr>
<tr class="separator:a47d97bd820425ae64dfcae647f70bb75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4159237d48b53a1ef4291a9d805250c"><td class="memItemLeft" align="right" valign="top">static Attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ab4159237d48b53a1ef4291a9d805250c">GetCustomOrInjectedAttribute</a> (this Type thisType, Type type)</td></tr>
<tr class="memdesc:ab4159237d48b53a1ef4291a9d805250c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain type.  <a href="#ab4159237d48b53a1ef4291a9d805250c">More...</a><br/></td></tr>
<tr class="separator:ab4159237d48b53a1ef4291a9d805250c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49579b90eb8e84fe6d19d91b57e03eb3"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a49579b90eb8e84fe6d19d91b57e03eb3">GetCustomOrInjectedAttribute&lt; T &gt;</a> (this Type thisType)</td></tr>
<tr class="memdesc:a49579b90eb8e84fe6d19d91b57e03eb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain type.  <a href="#a49579b90eb8e84fe6d19d91b57e03eb3">More...</a><br/></td></tr>
<tr class="separator:a49579b90eb8e84fe6d19d91b57e03eb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cfa722525e7b91da2a4c5b5635550fd"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a5cfa722525e7b91da2a4c5b5635550fd">GetCustomAndInjectedAttributes</a> (this MethodBase method, Type type)</td></tr>
<tr class="memdesc:a5cfa722525e7b91da2a4c5b5635550fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled or injected attributes of a certain method or constructor.  <a href="#a5cfa722525e7b91da2a4c5b5635550fd">More...</a><br/></td></tr>
<tr class="separator:a5cfa722525e7b91da2a4c5b5635550fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adabaca5439cca6e9d358b77f57759c7e"><td class="memItemLeft" align="right" valign="top">static T[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#adabaca5439cca6e9d358b77f57759c7e">GetCustomAndInjectedAttributes&lt; T &gt;</a> (this MethodBase method)</td></tr>
<tr class="memdesc:adabaca5439cca6e9d358b77f57759c7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled or injected attributes of a certain method or constructor.  <a href="#adabaca5439cca6e9d358b77f57759c7e">More...</a><br/></td></tr>
<tr class="separator:adabaca5439cca6e9d358b77f57759c7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7991f4baf1b68be291271827aa3066b8"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a7991f4baf1b68be291271827aa3066b8">GetCustomAndInjectedAttributes</a> (this MethodBase method, object instance, Type type)</td></tr>
<tr class="memdesc:a7991f4baf1b68be291271827aa3066b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled or injected attributes of a certain method or constructor on a specific instance.  <a href="#a7991f4baf1b68be291271827aa3066b8">More...</a><br/></td></tr>
<tr class="separator:a7991f4baf1b68be291271827aa3066b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bacc98a45abb67f384153409b996584"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a2bacc98a45abb67f384153409b996584">GetCustomAndInjectedAttributes</a> (this FieldInfo field, Type type)</td></tr>
<tr class="memdesc:a2bacc98a45abb67f384153409b996584"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled or injected attributes of a certain field.  <a href="#a2bacc98a45abb67f384153409b996584">More...</a><br/></td></tr>
<tr class="separator:a2bacc98a45abb67f384153409b996584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcebb1d9204cd4e0d2b1fc23e012c1b1"><td class="memItemLeft" align="right" valign="top">static T[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#adcebb1d9204cd4e0d2b1fc23e012c1b1">GetCustomAndInjectedAttributes&lt; T &gt;</a> (this FieldInfo field)</td></tr>
<tr class="memdesc:adcebb1d9204cd4e0d2b1fc23e012c1b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled or injected attributes of a certain field.  <a href="#adcebb1d9204cd4e0d2b1fc23e012c1b1">More...</a><br/></td></tr>
<tr class="separator:adcebb1d9204cd4e0d2b1fc23e012c1b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bc9332ac7675b5e0fe39260d2473193"><td class="memItemLeft" align="right" valign="top">static Attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a9bc9332ac7675b5e0fe39260d2473193">GetCustomOrInjectedAttribute</a> (this MethodBase method, Type type)</td></tr>
<tr class="memdesc:a9bc9332ac7675b5e0fe39260d2473193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain method or constructor.  <a href="#a9bc9332ac7675b5e0fe39260d2473193">More...</a><br/></td></tr>
<tr class="separator:a9bc9332ac7675b5e0fe39260d2473193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05b7050f32ad076fb0e1f8dd9ad44fa1"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a05b7050f32ad076fb0e1f8dd9ad44fa1">GetCustomOrInjectedAttribute&lt; T &gt;</a> (this MethodBase method)</td></tr>
<tr class="memdesc:a05b7050f32ad076fb0e1f8dd9ad44fa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain method or constructor.  <a href="#a05b7050f32ad076fb0e1f8dd9ad44fa1">More...</a><br/></td></tr>
<tr class="separator:a05b7050f32ad076fb0e1f8dd9ad44fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e1040e235c2e2ad0e611e58dfc398b4"><td class="memItemLeft" align="right" valign="top">static Attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a8e1040e235c2e2ad0e611e58dfc398b4">GetCustomOrInjectedAttribute</a> (this MethodBase method, object instance, Type type)</td></tr>
<tr class="memdesc:a8e1040e235c2e2ad0e611e58dfc398b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain method or constructor on a specific instance.  <a href="#a8e1040e235c2e2ad0e611e58dfc398b4">More...</a><br/></td></tr>
<tr class="separator:a8e1040e235c2e2ad0e611e58dfc398b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ba516b0e0161f771ae57ba8dc372bb5"><td class="memItemLeft" align="right" valign="top">static Attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a4ba516b0e0161f771ae57ba8dc372bb5">GetCustomOrInjectedAttribute</a> (this FieldInfo field, Type type)</td></tr>
<tr class="memdesc:a4ba516b0e0161f771ae57ba8dc372bb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain field.  <a href="#a4ba516b0e0161f771ae57ba8dc372bb5">More...</a><br/></td></tr>
<tr class="separator:a4ba516b0e0161f771ae57ba8dc372bb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30a33066a3d9eca79615cd577370f8f3"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a30a33066a3d9eca79615cd577370f8f3">GetCustomOrInjectedAttribute&lt; T &gt;</a> (this FieldInfo field)</td></tr>
<tr class="memdesc:a30a33066a3d9eca79615cd577370f8f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain field.  <a href="#a30a33066a3d9eca79615cd577370f8f3">More...</a><br/></td></tr>
<tr class="separator:a30a33066a3d9eca79615cd577370f8f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a140b4e89fcf6823c6352bb877b1de47d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a140b4e89fcf6823c6352bb877b1de47d">HasCustomOrInjectedAttribute</a> (this MethodBase method, Type type)</td></tr>
<tr class="memdesc:a140b4e89fcf6823c6352bb877b1de47d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the method or constructor has a pre-compiled or injected attribute of a certain type.  <a href="#a140b4e89fcf6823c6352bb877b1de47d">More...</a><br/></td></tr>
<tr class="separator:a140b4e89fcf6823c6352bb877b1de47d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f658606c26b8b326a2f07f93d94823f"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a0f658606c26b8b326a2f07f93d94823f">HasCustomOrInjectedAttribute&lt; T &gt;</a> (this MethodBase method)</td></tr>
<tr class="memdesc:a0f658606c26b8b326a2f07f93d94823f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the method or constructor has a pre-compiled or injected attribute of a certain type.  <a href="#a0f658606c26b8b326a2f07f93d94823f">More...</a><br/></td></tr>
<tr class="separator:a0f658606c26b8b326a2f07f93d94823f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06bf7002e9e88ab02760d661e26e1451"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a06bf7002e9e88ab02760d661e26e1451">HasCustomOrInjectedAttribute</a> (this FieldInfo field, Type type)</td></tr>
<tr class="memdesc:a06bf7002e9e88ab02760d661e26e1451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the field has a pre-compiled or injected attribute of a certain type.  <a href="#a06bf7002e9e88ab02760d661e26e1451">More...</a><br/></td></tr>
<tr class="separator:a06bf7002e9e88ab02760d661e26e1451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad73e1e5e9d407fb309f7883698fd3d8b"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ad73e1e5e9d407fb309f7883698fd3d8b">HasCustomOrInjectedAttribute&lt; T &gt;</a> (this FieldInfo field)</td></tr>
<tr class="memdesc:ad73e1e5e9d407fb309f7883698fd3d8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the field has a pre-compiled or injected attribute of a certain type.  <a href="#ad73e1e5e9d407fb309f7883698fd3d8b">More...</a><br/></td></tr>
<tr class="separator:ad73e1e5e9d407fb309f7883698fd3d8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a985f74653dc12ea67074f2aa6623fd27"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a985f74653dc12ea67074f2aa6623fd27">GetCustomAndInjectedAttributes</a> (this PropertyInfo pi, Type type)</td></tr>
<tr class="memdesc:a985f74653dc12ea67074f2aa6623fd27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled or injected attribute of a certain type.  <a href="#a985f74653dc12ea67074f2aa6623fd27">More...</a><br/></td></tr>
<tr class="separator:a985f74653dc12ea67074f2aa6623fd27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57df5ea74a348683041a92ad082a8f29"><td class="memItemLeft" align="right" valign="top">static Attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a57df5ea74a348683041a92ad082a8f29">GetCustomOrInjectedAttribute</a> (this PropertyInfo pi, Type type)</td></tr>
<tr class="memdesc:a57df5ea74a348683041a92ad082a8f29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain type.  <a href="#a57df5ea74a348683041a92ad082a8f29">More...</a><br/></td></tr>
<tr class="separator:a57df5ea74a348683041a92ad082a8f29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae85c641f9b056fceae6d4aa3206e608c"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ae85c641f9b056fceae6d4aa3206e608c">GetCustomOrInjectedAttribute&lt; T &gt;</a> (this PropertyInfo pi)</td></tr>
<tr class="memdesc:ae85c641f9b056fceae6d4aa3206e608c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of a certain type.  <a href="#ae85c641f9b056fceae6d4aa3206e608c">More...</a><br/></td></tr>
<tr class="separator:ae85c641f9b056fceae6d4aa3206e608c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc28d417b918c6385e2a98db6f952909"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#acc28d417b918c6385e2a98db6f952909">HasCustomOrInjectedAttribute&lt; T &gt;</a> (this PropertyInfo pi)</td></tr>
<tr class="memdesc:acc28d417b918c6385e2a98db6f952909"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the property has a pre-compiled or injected attribute of a certain type.  <a href="#acc28d417b918c6385e2a98db6f952909">More...</a><br/></td></tr>
<tr class="separator:acc28d417b918c6385e2a98db6f952909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4b453ec7c28e302d07aa0424a7cf726"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ac4b453ec7c28e302d07aa0424a7cf726">GetCustomAndInjectedAttributes</a> (this ParameterInfo pi, Type type)</td></tr>
<tr class="memdesc:ac4b453ec7c28e302d07aa0424a7cf726"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all pre-compiled and injected attributes of the method parameter.  <a href="#ac4b453ec7c28e302d07aa0424a7cf726">More...</a><br/></td></tr>
<tr class="separator:ac4b453ec7c28e302d07aa0424a7cf726"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8874530851b4ae467e2400ba05f6d965"><td class="memItemLeft" align="right" valign="top">static Attribute&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a8874530851b4ae467e2400ba05f6d965">GetCustomOrInjectedAttribute</a> (this ParameterInfo pi, Type type)</td></tr>
<tr class="memdesc:a8874530851b4ae467e2400ba05f6d965"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of the method parameter.  <a href="#a8874530851b4ae467e2400ba05f6d965">More...</a><br/></td></tr>
<tr class="separator:a8874530851b4ae467e2400ba05f6d965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21d536f391b770906281b619beaa9fae"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a21d536f391b770906281b619beaa9fae">GetCustomOrInjectedAttribute&lt; T &gt;</a> (this ParameterInfo pi)</td></tr>
<tr class="memdesc:a21d536f391b770906281b619beaa9fae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single pre-compiled or injected attribute of the method parameter.  <a href="#a21d536f391b770906281b619beaa9fae">More...</a><br/></td></tr>
<tr class="separator:a21d536f391b770906281b619beaa9fae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66e6b7b37b3c39309ea93d4d71b9caf6"><td class="memItemLeft" align="right" valign="top">static Attribute[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a66e6b7b37b3c39309ea93d4d71b9caf6">GetInjectedAttributes</a> (this FieldInfo fi, Type type)</td></tr>
<tr class="memdesc:a66e6b7b37b3c39309ea93d4d71b9caf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes which were attached to the field by attribute injection.  <a href="#a66e6b7b37b3c39309ea93d4d71b9caf6">More...</a><br/></td></tr>
<tr class="separator:a66e6b7b37b3c39309ea93d4d71b9caf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7083f423c4e0e9293a58c63fa6601466"><td class="memItemLeft" align="right" valign="top">static T[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a7083f423c4e0e9293a58c63fa6601466">GetAttributes&lt; T &gt;</a> (this <a class="el" href="interface_system_sharp_1_1_components_1_1_i_has_attributes.html">IHasAttributes</a> obj)</td></tr>
<tr class="memdesc:a7083f423c4e0e9293a58c63fa6601466"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all attributes with specified type.  <a href="#a7083f423c4e0e9293a58c63fa6601466">More...</a><br/></td></tr>
<tr class="separator:a7083f423c4e0e9293a58c63fa6601466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f16cc9dd98ce3a57a98444c447d372"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a11f16cc9dd98ce3a57a98444c447d372">GetAttribute&lt; T &gt;</a> (this <a class="el" href="interface_system_sharp_1_1_components_1_1_i_has_attributes.html">IHasAttributes</a> obj)</td></tr>
<tr class="memdesc:a11f16cc9dd98ce3a57a98444c447d372"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a single attribute with specified type.  <a href="#a11f16cc9dd98ce3a57a98444c447d372">More...</a><br/></td></tr>
<tr class="separator:a11f16cc9dd98ce3a57a98444c447d372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd971df7c3c6ffd2c2418d6737de606"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a7bd971df7c3c6ffd2c2418d6737de606">HasAttribute&lt; T &gt;</a> (this <a class="el" href="interface_system_sharp_1_1_components_1_1_i_has_attributes.html">IHasAttributes</a> obj)</td></tr>
<tr class="memdesc:a7bd971df7c3c6ffd2c2418d6737de606"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if the attribute container has an attribute with specified type.  <a href="#a7bd971df7c3c6ffd2c2418d6737de606">More...</a><br/></td></tr>
<tr class="separator:a7bd971df7c3c6ffd2c2418d6737de606"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Provides services for late injection of attributes to CLI objects. </p>
<p>We know CLI attributes as a means of associating elements, such as types, methods or fields, with meta information. The respective element needs to be associated with the attribute at compile time. So once the code is compiled, there is no chance to associate it with any new attribute. This class provides a concept of associating CLI objects with attributes during runtime. It does so by internally retaining weak hash maps of the augmented objects. Please note: In order to query a lately injected attribute, you cannot go by the CLI reflection API any more, because that API does not know about the existence of this class. Instead, you the methods of this class. </p>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00046">46</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a11f16cc9dd98ce3a57a98444c447d372"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T SystemSharp.Components.AttributeInjector.GetAttribute&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="interface_system_sharp_1_1_components_1_1_i_has_attributes.html">IHasAttributes</a>&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single attribute with specified type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>attribute container</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>attribute of desired type, or <code>null</code> if no such exists</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00702">702</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7083f423c4e0e9293a58c63fa6601466"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T [] SystemSharp.Components.AttributeInjector.GetAttributes&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="interface_system_sharp_1_1_components_1_1_i_has_attributes.html">IHasAttributes</a>&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes with specified type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>attribute container</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>all attributes of desired type</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00688">688</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a47d97bd820425ae64dfcae647f70bb75"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this Type&#160;</td>
          <td class="paramname"><em>thisType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled and injected attributes of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">thisType</td><td>type to query for attributes</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled and injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00376">376</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a5cfa722525e7b91da2a4c5b5635550fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled or injected attributes of a certain method or constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor to query</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00412">412</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7991f4baf1b68be291271827aa3066b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled or injected attributes of a certain method or constructor on a specific instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
    <tr><td class="paramname">instance</td><td>instance on which method or constructor is called</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00439">439</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a2bacc98a45abb67f384153409b996584"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled or injected attributes of a certain field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00454">454</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a985f74653dc12ea67074f2aa6623fd27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this PropertyInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled or injected attribute of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>property to query</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00584">584</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac4b453ec7c28e302d07aa0424a7cf726"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this ParameterInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled and injected attributes of the method parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>method parameter</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00630">630</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="adabaca5439cca6e9d358b77f57759c7e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T [] <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a47d97bd820425ae64dfcae647f70bb75">SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled or injected attributes of a certain method or constructor. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-commpiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00426">426</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="adcebb1d9204cd4e0d2b1fc23e012c1b1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T [] <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a47d97bd820425ae64dfcae647f70bb75">SystemSharp.Components.AttributeInjector.GetCustomAndInjectedAttributes</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all pre-compiled or injected attributes of a certain field. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00467">467</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ab4159237d48b53a1ef4291a9d805250c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this Type&#160;</td>
          <td class="paramname"><em>thisType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">thisType</td><td>type to query for attribute</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00390">390</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a9bc9332ac7675b5e0fe39260d2473193"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain method or constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00478">478</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a8e1040e235c2e2ad0e611e58dfc398b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain method or constructor on a specific instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
    <tr><td class="paramname">instance</td><td>instance on which method or constructor is called</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00504">504</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a4ba516b0e0161f771ae57ba8dc372bb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field</td></tr>
    <tr><td class="paramname">type</td><td>type of attibute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00516">516</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a57df5ea74a348683041a92ad082a8f29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this PropertyInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>property to query</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled to injected attribute of specified type, or <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00597">597</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a8874530851b4ae467e2400ba05f6d965"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this ParameterInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of the method parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>method parameter</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00644">644</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a49579b90eb8e84fe6d19d91b57e03eb3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ab4159237d48b53a1ef4291a9d805250c">SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this Type&#160;</td>
          <td class="paramname"><em>thisType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">thisType</td><td>type to query for attribute</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00401">401</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a05b7050f32ad076fb0e1f8dd9ad44fa1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ab4159237d48b53a1ef4291a9d805250c">SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain method or constructor. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00490">490</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a30a33066a3d9eca79615cd577370f8f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ab4159237d48b53a1ef4291a9d805250c">SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain field. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00528">528</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ae85c641f9b056fceae6d4aa3206e608c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ab4159237d48b53a1ef4291a9d805250c">SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this PropertyInfo&#160;</td>
          <td class="paramname"><em>pi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of a certain type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>property to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled to injected attribute of specified type, or <code>null</code> if no such exists</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00608">608</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a21d536f391b770906281b619beaa9fae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#ab4159237d48b53a1ef4291a9d805250c">SystemSharp.Components.AttributeInjector.GetCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this ParameterInfo&#160;</td>
          <td class="paramname"><em>pi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a single pre-compiled or injected attribute of the method parameter. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>method parameter</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pre-compiled or injected attribute, <code>null</code> if no such exists</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00655">655</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0fb9fca3f2db7ae5dddfedfc3806ce0b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this Type&#160;</td>
          <td class="paramname"><em>thisType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes which were attached to a type by attribute injection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">thisType</td><td>type of query</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00258">258</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7cee1ddb6318ca5e86fbc193c5de2a95"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes which were attached to a method or constructor by attribute injection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00278">278</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a8246a4102a7b662f9aff85dc29ace04c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes which were attached to a certain method or constructor for a specific instance by attribute injection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
    <tr><td class="paramname">instance</td><td>instance on which method or constructor is called</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00330">330</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a787165467bb5c562432050a8e85e9e39"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this PropertyInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes which were attached to a certain property. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>property</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>injected attributes</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00342">342</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a454afd18e15520a14a3d7aed60e8e326"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this ParameterInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes which were attached to a certain method parameter by attribute injection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>method parameter</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>all injected attributed</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00364">364</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a66e6b7b37b3c39309ea93d4d71b9caf6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Attribute [] SystemSharp.Components.AttributeInjector.GetInjectedAttributes </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>fi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns all attributes which were attached to the field by attribute injection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fi</td><td>field</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>all injected attributes of specified type</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00666">666</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7bd971df7c3c6ffd2c2418d6737de606"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.AttributeInjector.HasAttribute&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="interface_system_sharp_1_1_components_1_1_i_has_attributes.html">IHasAttributes</a>&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true</code> if the attribute container has an attribute with specified type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>attribute container</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the container has an attribute of specified type, <code>false</code> if not</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00713">713</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a140b4e89fcf6823c6352bb877b1de47d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.AttributeInjector.HasCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true</code> if the method or constructor has a pre-compiled or injected attribute of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if there is such an attribute, <code>false</code> if not</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00540">540</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a06bf7002e9e88ab02760d661e26e1451"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.AttributeInjector.HasCustomOrInjectedAttribute </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true</code> if the field has a pre-compiled or injected attribute of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field</td></tr>
    <tr><td class="paramname">type</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if there is such an attribute, <code>false</code> if not</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00562">562</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0f658606c26b8b326a2f07f93d94823f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a140b4e89fcf6823c6352bb877b1de47d">SystemSharp.Components.AttributeInjector.HasCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this MethodBase&#160;</td>
          <td class="paramname"><em>method</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true</code> if the method or constructor has a pre-compiled or injected attribute of a certain type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method or constructor</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if there is such an attribute, <code>false</code> if not</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00551">551</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ad73e1e5e9d407fb309f7883698fd3d8b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a140b4e89fcf6823c6352bb877b1de47d">SystemSharp.Components.AttributeInjector.HasCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this FieldInfo&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true</code> if the field has a pre-compiled or injected attribute of a certain type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if there is such an attribute, <code>false</code> if not</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00573">573</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="acc28d417b918c6385e2a98db6f952909"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool <a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html#a140b4e89fcf6823c6352bb877b1de47d">SystemSharp.Components.AttributeInjector.HasCustomOrInjectedAttribute</a>&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">this PropertyInfo&#160;</td>
          <td class="paramname"><em>pi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true</code> if the property has a pre-compiled or injected attribute of a certain type. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>type of attribute to query</td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>property</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the property has an attribute of specified type, <code>false</code> if not</dd></dl>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em>Attribute</em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00619">619</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ae864a15c10851613521773e902eb605d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.Inject </td>
          <td>(</td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>type to be associated with an attribute</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00072">72</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a5ba32f640159f57cd2f9a6161d6e3f8a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.Inject </td>
          <td>(</td>
          <td class="paramtype">MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>method to be associated with an attribute</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00088">88</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a06c7dc1ba715d5f3248e4111a850f3b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.Inject </td>
          <td>(</td>
          <td class="paramtype">FieldInfo&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>field to be associated with an attribute</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00103">103</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="abf7ae41518475ff05b65628eb92b12d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.Inject </td>
          <td>(</td>
          <td class="paramtype">ParameterInfo&#160;</td>
          <td class="paramname"><em>pi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a method parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pi</td><td>method parameter</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00216">216</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a66888bf2ee085c5673576c8404373f02"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.Inject </td>
          <td>(</td>
          <td class="paramtype">FieldInfo&#160;</td>
          <td class="paramname"><em>fi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a field </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fi</td><td>field</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00231">231</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="aa06eeed078616acc5ee583947632fda5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.InjectEach </td>
          <td>(</td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>methodName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to each method with a particular name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>declaring type of the methods</td></tr>
    <tr><td class="paramname">methodName</td><td>name of the method(s)</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00167">167</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a8740a947e0a93d0ef622d3f8160f1f4b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.InjectEachCtor </td>
          <td>(</td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to each constructor of a certain type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>type whose constructors are to be equipped with the attribute</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00182">182</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a6bb0301ecff51be0f2a57bffbf522aef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.InjectMethodByNameAttr </td>
          <td>(</td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>methodName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a method, specified by declaring type and method name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>declaring type of the method</td></tr>
    <tr><td class="paramname">methodName</td><td>name of the method</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00135">135</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac084ebd6b2ec5cc306dfba149d4b601e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.InjectOnce </td>
          <td>(</td>
          <td class="paramtype">MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a method, but only if the method is not yet associated with an equal instance of the attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>type to be associated with an attribute</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00118">118</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a3ffe74da51382ad02f276b7dda2ebb10"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.InjectOnce </td>
          <td>(</td>
          <td class="paramtype">MethodBase&#160;</td>
          <td class="paramname"><em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a method of a certain instance, but only if the method is not yet associated with an equal instance of the attribute. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">method</td><td>type to be associated with an attribute</td></tr>
    <tr><td class="paramname">instance</td><td>instance on which the method is called</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00151">151</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a48a801f69185db8266a97f2a7b9007de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void SystemSharp.Components.AttributeInjector.InjectToProperty </td>
          <td>(</td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>propName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Attribute&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>retainRef</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attaches an attribute to a property with a certain name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>declaring type of the property</td></tr>
    <tr><td class="paramname">propName</td><td>name of the property</td></tr>
    <tr><td class="paramname">attribute</td><td>attribute to attach</td></tr>
    <tr><td class="paramname">retainRef</td><td><code>true</code> if the attribute should be retained even if the type information is garbage-collected</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00198">198</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a881fdbc47ad270f340ef8b764f86a59f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static IEnumerable&lt;Attribute&gt; SystemSharp.Components.AttributeInjector.SelectAttributes </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; object &gt;&#160;</td>
          <td class="paramname"><em>attrs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Selects all attributes which are compatible with a certain type from an object enumeration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attrs</td><td>object enumeration</td></tr>
    <tr><td class="paramname">type</td><td>type of requested attribute</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>sub-sequence of attributes with desired type</dd></dl>

<p>Definition at line <a class="el" href="_injected_properties_8cs_source.html#l00245">245</a> of file <a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_injected_properties_8cs_source.html">InjectedProperties.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_system_sharp.html">SystemSharp</a></li><li class="navelem"><a class="el" href="namespace_system_sharp_1_1_components.html">Components</a></li><li class="navelem"><a class="el" href="class_system_sharp_1_1_components_1_1_attribute_injector.html">AttributeInjector</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:22:02 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
